package com.jy.datapipeline.export.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * [ config_app ]
 *
 * @author wangfeng
 * @version 1.0
 * @company jingzhi.com
 * @copyright (c)  jingzhi.comInc. All rights reserved.
 * @date 2021-05-17 16:48:41
 * @since JDK1.8
 */
@Entity
@Table(name = "data_dictionary")
public class DataDictionary {


    /**
     * 主键
     */
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id", nullable = false)
    private Integer id;

    /**
     * sql ruleId
     */
    @Column(name = "type", length = 255, nullable = false)
    private String type;


    /**
     *  key
     */
    @Column(name = "label_key", length = 255, nullable = false)
    private String labelKey;
    /**
     * value
     */
    @Column(name = "label_name", length = 255, nullable = false)
    private String labelName;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLabelKey() {
        return labelKey;
    }

    public void setLabelKey(String labelKey) {
        this.labelKey = labelKey;
    }

    public String getLabelName() {
        return labelName;
    }

    public void setLabelName(String labelName) {
        this.labelName = labelName;
    }
}
